package com.ssy.lingxi.order.model.vo.basic.request;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 订单中止、取消接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-31
 */
public class OrderReasonVO extends OrderIdVO implements Serializable {
    private static final long serialVersionUID = -8887960826739570038L;

    /**
     * 订单取消或中止的原因
     */
    @NotEmpty(message = "订单取消或中止的原因")
    @Size(max = 100, message = "订单取消或中止的原因最长100个字符")
    private String reason;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
